import java.util.Arrays;
import java.util.Locale;

/**
 *
 */

public class TestDemo {

    public static void main(String[] args) {
        String name = "你是猪";
        System.out.println(name);
        System.out.println(name.length());
        System.out.println(name.replace("猪","仙女"));
    }
    public static void main1(String[] args) {
        byte a = -1;
        //byte b = (byte)(a+1);
        System.out.println("最大值:"+Integer.MAX_VALUE);
        System.out.println("最小值:"+Integer.MIN_VALUE);
        System.out.println("最大值:"+Long.MAX_VALUE);
        System.out.println("最小值:"+Long.MIN_VALUE);
        System.out.println("最大值:"+Short.MAX_VALUE);
        System.out.println("最小值:"+Short.MIN_VALUE);
        System.out.println("最大值:"+Byte.MAX_VALUE);
        System.out.println("最小值:"+Byte.MIN_VALUE);
        /*int i = 0;
        for(i = 1;i<=8;i++)
        {
            System.out.print(a&1);
            System.out.print(" ");
            a >>= 1;
        }*/
        float b = 1F;
        int c = 2;
        System.out.println(b/c);
        char d = '媛';
        System.out.println(d);

    }

}
